package org.class2table.z_running_data;

import org.class2table.core.clazz.annotations.Column;
import org.class2table.core.clazz.annotations.PrimaryKey;
import org.class2table.core.clazz.annotations.Table;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Table(tableName = "user")
public class User {

    @Column(columnName = "a_first_second", columnType = "tinyint(1)", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private Boolean aFirstSecond;

    @Column(columnName = "b111", columnType = "char(11)", isNullable = false, isSetDefault = true, columnDefault = "0", columnComment = "")
    private Character b111;

    @Column(columnName = "c", columnType = "smallint", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private Short c;

    @PrimaryKey(2)
    @Column(columnName = "d_pig_tiger", columnType = "int", isNullable = false, isSetDefault = false, columnDefault = "", columnComment = "猪虎就是你2")
    private Integer dPigTiger;

    @Column(columnName = "e", columnType = "float", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private Float e;

    @Column(columnName = "f", columnType = "double", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "you are jb")
    private Double f;

    @Column(columnName = "g_boy_girl", columnType = "bigint unsigned", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private Long gBoyGirl;

    @Column(columnName = "h", columnType = "tinyint(1)", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private Boolean h;

    @Column(columnName = "i", columnType = "varchar(255)", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private String i;

    @Column(columnName = "j_forever_love_year500", columnType = "decimal(10,0)", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "爱你一万年")
    private BigDecimal jForeverLoveYear500;

    @Column(columnName = "k", columnType = "datetime", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private LocalDateTime k;

    @Column(columnName = "l", columnType = "datetime", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private LocalDateTime l;

    @Column(columnName = "m", columnType = "datetime", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private LocalDateTime m;

    @PrimaryKey(1)
    @Column(columnName = "n", columnType = "bigint unsigned", isNullable = false, isSetDefault = false, columnDefault = "", columnComment = "")
    private Long n;

    @Column(columnName = "o", columnType = "date", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private LocalDate o;

    @Column(columnName = "p", columnType = "date", isNullable = true, isSetDefault = false, columnDefault = "", columnComment = "")
    private LocalDate p;

}